# -*- coding: utf-8 -*-
# @Time    : 2021/4/16 19:45
# @Author  : Chen
# @Email   : 2356458272@qq.com
# @File    : 生成随机数与小数.py
# @Software: PyCharm
import random
a = random.randint(1, 10)
b = random.randint(0,9)
print("整数：",a)
print(f"小数：{a}.{b}")
print(f"0-1之间的小数：0.{b}")